package com.woniu.liuzhougov.WorkPlan.dto;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description:
 * @Author: junzhao
 * @Date: 2019-04-18 17:08
 */
public class PlanDTO {
    private Integer planId;

    private Integer planTypeId;

    private Integer planFounderId;

    private Integer planSxId;

    private Integer planDepartmentId;


    public Integer getPlanDepartmentId() {
        return planDepartmentId;
    }

    public void setPlanDepartmentId(Integer planDepartmentId) {
        this.planDepartmentId = planDepartmentId;
    }

    /**
     * 计划发布状态字段表示
     */
    private String PlanReleaseStatus;

    public String getPlanReleaseStatus() {
        return PlanReleaseStatus;
    }

    public void setPlanReleaseStatus(String planReleaseStatus) {
        PlanReleaseStatus = planReleaseStatus;
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planTime;

    private String planContent;

    private Date planStartTime;

    private Date planEndTime;

    private Integer planRelease;

    private String departmentName;

    /**
     * 添加人员名字
     * @return
     */
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getPlanRelease() {
        return planRelease;
    }

    public void setPlanRelease(Integer planRelease) {
        this.planRelease = planRelease;
    }

    private String planTypeName;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Integer getPlanTypeId() {
        return planTypeId;
    }

    public void setPlanTypeId(Integer planTypeId) {
        this.planTypeId = planTypeId;
    }

    public Integer getPlanFounderId() {
        return planFounderId;
    }

    public void setPlanFounderId(Integer planFounderId) {
        this.planFounderId = planFounderId;
    }

    public Integer getPlanSxId() {
        return planSxId;
    }

    public void setPlanSxId(Integer planSxId) {
        this.planSxId = planSxId;
    }

    public Date getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Date planTime) {
        this.planTime = planTime;
    }

    public String getPlanContent() {
        return planContent;
    }

    public void setPlanContent(String planContent) {
        this.planContent = planContent;
    }

    public Date getPlanStartTime() {
        return planStartTime;
    }

    public void setPlanStartTime(Date planStartTime) {
        this.planStartTime = planStartTime;
    }

    public Date getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }

    public String getPlanTypeName() {
        return planTypeName;
    }

    public void setPlanTypeName(String planTypeName) {
        this.planTypeName = planTypeName;
    }

    @Override
    public String toString() {
        return "PlanDTO{" +
                "planId=" + planId +
                ", planTypeId=" + planTypeId +
                ", planFounderId=" + planFounderId +
                ", planSxId=" + planSxId +
                ", planDepartmentId=" + planDepartmentId +
                ", PlanReleaseStatus='" + PlanReleaseStatus + '\'' +
                ", planTime=" + planTime +
                ", planContent='" + planContent + '\'' +
                ", planStartTime=" + planStartTime +
                ", planEndTime=" + planEndTime +
                ", planRelease=" + planRelease +
                ", departmentName='" + departmentName + '\'' +
                ", userName='" + userName + '\'' +
                ", planTypeName='" + planTypeName + '\'' +
                '}';
    }
}
